package com.facebank.usersupport.mapper.usersupport.usersupport;

import com.facebank.usersupport.dto.EvaluateDetailDto;
import com.facebank.usersupport.dto.EvaluateDto;
import com.facebank.usersupport.model.DgutEvaluate;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

public interface DgutEvaluateMapper {
    int deleteByPrimaryKey(Long id);

    int insert(DgutEvaluate record);

    int insertSelective(DgutEvaluate record);

    DgutEvaluate selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(DgutEvaluate record);

    int updateByPrimaryKey(DgutEvaluate record);

    Set<EvaluateDto> showEvaluateList(Long assId);

    List<EvaluateDetailDto> showEvaluateDetail(Long actId);

    List<DgutEvaluate> selectAssociatorEvaluateList(Long assId);

    List<DgutEvaluate> selectEvaluateAssociator();

    DgutEvaluate selectByActivityId(@Param(value = "associatorId") Long associatorId, @Param(value = "activityId") Long activityId);


}